#include <stdio.h>

void del_node( node *pcur )
{
	node *pnext = pcur->next;

	if ( !pcur )
		return ;

	if ( pnext == NULL )
		pcur = NULL;
	else {
		pcur->next = pnext->next;
		pcur->data = pnext->data;
		free( pnext );
	}

	return ;
}
